package com.lft.cryptology01.ascii;

public class AsciiDemo {
    public static void main(String[] args) {
        char a = 'A';
        int b = a;
        System.out.println(b);
        
        System.out.println("=============================");
        
        String str = "AaZz";
        char[] charArray = str.toCharArray();
        for (char c : charArray) {
            int ascii = c;
            System.out.println(ascii);
        }
    }
}
